package com.ruoyi.project.device.cargoarea.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 货区管理对象 bas_cargo_area
 * 
 * @author wld
 * @date 2023-04-04
 */
public class BasCargoArea extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 货区编码 */
    @Excel(name = "货区编码")
    private String cargoAreaId;

    /** 所属仓库 */
    @Excel(name = "所属仓库")
    private String warehouseId;

    /** 货区名称 */
    @Excel(name = "货区名称")
    private String cargoAreaName;

    /** 货区描述 */
    @Excel(name = "货区描述")
    private String cDesc;

    /** 是否锁定 */
    @Excel(name = "是否锁定")
    private String locked;

    /** 是否默认分区 */
    @Excel(name = "是否默认分区")
    private String isDefault;

    /** 物料类型ID */
    @Excel(name = "物料类型ID")
    private String productkindId;

    public void setCargoAreaId(String cargoAreaId) 
    {
        this.cargoAreaId = cargoAreaId;
    }

    public String getCargoAreaId() 
    {
        return cargoAreaId;
    }
    public void setWarehouseId(String warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseId() 
    {
        return warehouseId;
    }
    public void setCargoAreaName(String cargoAreaName) 
    {
        this.cargoAreaName = cargoAreaName;
    }

    public String getCargoAreaName() 
    {
        return cargoAreaName;
    }
    public void setcDesc(String cDesc) 
    {
        this.cDesc = cDesc;
    }

    public String getcDesc() 
    {
        return cDesc;
    }
    public void setLocked(String locked) 
    {
        this.locked = locked;
    }

    public String getLocked() 
    {
        return locked;
    }
    public void setIsDefault(String isDefault) 
    {
        this.isDefault = isDefault;
    }

    public String getIsDefault() 
    {
        return isDefault;
    }
    public void setProductkindId(String productkindId) 
    {
        this.productkindId = productkindId;
    }

    public String getProductkindId() 
    {
        return productkindId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cargoAreaId", getCargoAreaId())
            .append("warehouseId", getWarehouseId())
            .append("cargoAreaName", getCargoAreaName())
            .append("cDesc", getcDesc())
            .append("locked", getLocked())
            .append("isDefault", getIsDefault())
            .append("productkindId", getProductkindId())
            .toString();
    }
}
